-- GENERATED SPELL FOR [Coldwind Witch] --


function spell0_26577(pUnit, Event) --@Coldwind Blast,n/a--
pUnit:FullCastSpellOnTarget(51877,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26577', 2500, 1)
end

function Sorts_26577(pUnit, Event)
local choix_sorts_26577 = math.random(0, 0)
if choix_sorts_26577 == 0 then
pUnit:RegisterEvent('spell0_26577', 1, 1)
end
end

function mob26577_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26577', math.random(1500, 3000), 1)
end

function mob26577_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26577_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26577_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26577, 1, 'mob26577_Action')
RegisterUnitEvent(26577, 2, 'mob26577_Leave')
RegisterUnitEvent(26577, 3, 'mob26577_Kill')
RegisterUnitEvent(26577, 4, 'mob26577_Die')
